package liu.thread.thread.circulation;


import org.junit.Test;

public class CirculationTest {

	@Test
	public void test() throws Exception {
		
		Resource r= new Resource();
		thrM m=new thrM(r);
		thrS s=new thrS(r);
		Thread t1=new Thread(m,"主线程");
		Thread t2=new Thread(s,"子线程");
		t1.start();
		t2.start();
		
		
	}

}
